<div class="row">
    <div class="col-lg-12">
        <div class="ibox ">
            <div class="ibox-title">
                <h5>派送方式信息</h5>
                <div class="ibox-tools" style="top:10px;">
                    <button type="button" v-if="viewDistributionModeInfo.index != 2" class="btn btn-primary btn-sm" style="margin-right:10px;"  v-on:click="_openSelectDistributionModeInfoModel()">
                        <i class="glyphicon glyphicon-search"></i> 选择派送方式</button>

                    <button type="button" v-if="viewDistributionModeInfo.index != 2" class="btn btn-primary btn-sm" v-on:click="_openAddDistributionModeInfoModel()">
                        <i class="glyphicon glyphicon-plus"></i> 添加派送方式</button>
                </div>
            </div>
            <div class="ibox-content">
                <div class="row">
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >派送方式ID：</label>
                            <label class="">{{viewDistributionModeInfo.modeId}}</label>
                        </div>
</div>
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >方式名称：</label>
                            <label class="">{{viewDistributionModeInfo.modeName}}</label>
                        </div>
</div>
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >固定费：</label>
                            <label class="">{{viewDistributionModeInfo.fixedFee}}</label>
                        </div>
</div>
</div>
<div class="row">
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >起送1公里内：</label>
                            <label class="">{{viewDistributionModeInfo.startDeliveryIn}}</label>
                        </div>
</div>
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >起送1公里后每公里：</label>
                            <label class="">{{viewDistributionModeInfo.startDeliveryOut}}</label>
                        </div>
</div>
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >最大配送公里：</label>
                            <label class="">{{viewDistributionModeInfo.maximumDistribution}}</label>
                        </div>
</div>
</div>
<div class="row">
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >商铺ID：</label>
                            <label class="">{{viewDistributionModeInfo.shopId}}</label>
                        </div>
</div>
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >数据状态：</label>
                            <label class="">{{viewDistributionModeInfo.statusCd}}</label>
                        </div>
</div>
</div>

            </div>
        </div>
    </div>

    <vc:create path="goods/addDistributionMode"
               callBackListener="viewDistributionModeInfo"
               callBackFunction="chooseDistributionMode"
    ></vc:create>


    <vc:create path="goods/chooseDistributionMode"
               emitChooseDistributionMode="viewDistributionModeInfo"
               emitLoadData="viewDistributionModeInfo"
    ></vc:create>
</div>
